package com.gk.panda.apis.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@ApiModel("动植物点位添加修改实体")
public class BiologyPointSaveDto {

    @ApiModelProperty(value = "点位id，修改用")
    private Integer id;

    @ApiModelProperty(value = "生物id")
    private Integer bioId;

    @ApiModelProperty(value = "生物名称")
    private String name;

    @ApiModelProperty(value = "生物类型 0-动物 1-植物")
    private Integer kingdom;

    @ApiModelProperty(value = "经纬度")
    @NotBlank(message = "纬度不能为空")
    private List<String[]> place;

    @ApiModelProperty(value = "图标地址")
    private String icon;

    @ApiModelProperty(value = "保护等级")
    private String protectionLevel;

    @ApiModelProperty(value = "图片地址")
    private String picUrl;

}
